#!/bin/sh

export AWS_ACCESS_KEY_ID=AKIAWKZWN4QN5J4LHTOY
export AWS_SECRET_ACCESS_KEY=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
export AWS_REGION=us-west-1

nohup java -Xmx1024m -Xms512m -Xmn256m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/ng-test/www/logs/ -jar ng-www.jar --spring.profiles.active=dev  >/dev/null  2>&1 &
#save pid
echo "$!" > pid
